import { defineStore } from 'pinia'

export const useParamsStore = defineStore('params', {
  state: () => ({
    personCode: ''
  }),
  
  actions: {
    updatePersonCode(newCode) {
      this.personCode = newCode
    }
  }
})